<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MNNKit: MNN::Express::Executor::ComputeCache Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MNNKit
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">MNN Kit SDK</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_m_n_n.html">MNN</a></li><li class="navelem"><a class="el" href="namespace_m_n_n_1_1_express.html">Express</a></li><li class="navelem"><a class="el" href="class_m_n_n_1_1_express_1_1_executor.html">Executor</a></li><li class="navelem"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html">ComputeCache</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">MNN::Express::Executor::ComputeCache Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_executor_8hpp_source.html">Executor.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_m_n_n_1_1_express_1_1_executor_1_1_compute_cache_1_1_tensor_content.html">TensorContent</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_m_n_n_1_1_express_1_1_executor_1_1_compute_cache_1_1_unit.html">Unit</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac6e60e712474e83205d9bdfe3098a742"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#ac6e60e712474e83205d9bdfe3098a742">setShapeDirty</a> ()</td></tr>
<tr class="separator:ac6e60e712474e83205d9bdfe3098a742"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d11ad5e1de630664ae8c8d01dfb5e31"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#a5d11ad5e1de630664ae8c8d01dfb5e31">setContentDirty</a> ()</td></tr>
<tr class="separator:a5d11ad5e1de630664ae8c8d01dfb5e31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acef341cf7c5fbc4ecb1783121e99be78"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241">ErrorCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#acef341cf7c5fbc4ecb1783121e99be78">compute</a> ()</td></tr>
<tr class="separator:acef341cf7c5fbc4ecb1783121e99be78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7dea86e28f669af13d514593cbb3ace"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241">ErrorCode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#aa7dea86e28f669af13d514593cbb3ace">resize</a> ()</td></tr>
<tr class="separator:aa7dea86e28f669af13d514593cbb3ace"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52c1db8f7e21a46b4cac3dbf0321a38a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_m_n_n_1_1_tensor.html">Tensor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#a52c1db8f7e21a46b4cac3dbf0321a38a">output</a> (<a class="el" href="namespace_m_n_n_1_1_express.html#a152ce5be99dce88bb7ede3838075df79">EXPRP</a> outputExpr, int index, bool host=true) const</td></tr>
<tr class="separator:a52c1db8f7e21a46b4cac3dbf0321a38a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c5cbd6165cdec1f7358a1867e9adeb1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#a3c5cbd6165cdec1f7358a1867e9adeb1">dup</a> (<a class="el" href="namespace_m_n_n_1_1_express.html#a152ce5be99dce88bb7ede3838075df79">EXPRP</a> src, <a class="el" href="namespace_m_n_n_1_1_express.html#a152ce5be99dce88bb7ede3838075df79">EXPRP</a> dst)</td></tr>
<tr class="separator:a3c5cbd6165cdec1f7358a1867e9adeb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04dd57e9990d1bc4f23b5aafd5fb78cb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#a04dd57e9990d1bc4f23b5aafd5fb78cb">recycle</a> (<a class="el" href="class_m_n_n_1_1_express_1_1_expr.html">Expr</a> *expr)</td></tr>
<tr class="separator:a04dd57e9990d1bc4f23b5aafd5fb78cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7d7f1f3bdcb69d0343313673e239aad"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#ad7d7f1f3bdcb69d0343313673e239aad">~ ComputeCache</a> ()</td></tr>
<tr class="separator:ad7d7f1f3bdcb69d0343313673e239aad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69114879022de60a13753cb298296899"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#a69114879022de60a13753cb298296899">addLink</a> (std::shared_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html">ComputeCache</a> &gt; cache)</td></tr>
<tr class="separator:a69114879022de60a13753cb298296899"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d9c460d8334945f4acad234586b7bc5"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#a2d9c460d8334945f4acad234586b7bc5">valid</a> () const</td></tr>
<tr class="separator:a2d9c460d8334945f4acad234586b7bc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a32a879d0b4a0baef6c7c65563d22344c"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#a32a879d0b4a0baef6c7c65563d22344c">create</a> (const std::vector&lt; <a class="el" href="namespace_m_n_n_1_1_express.html#a152ce5be99dce88bb7ede3838075df79">EXPRP</a> &gt; &amp;outputs, std::map&lt; <a class="el" href="namespace_m_n_n_1_1_express.html#a152ce5be99dce88bb7ede3838075df79">EXPRP</a>, <a class="el" href="struct_m_n_n_1_1_express_1_1_executor_1_1_compute_cache_1_1_unit.html">ComputeCache::Unit</a> &gt; &amp;units, std::set&lt; std::shared_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html">Executor::ComputeCache</a> &gt;&gt; &amp;&amp;inputCaches, std::vector&lt; <a class="el" href="struct_m_n_n_1_1_express_1_1_executor_1_1_compute_cache_1_1_tensor_content.html">ComputeCache::TensorContent</a> &gt; &amp;&amp;tensors, std::shared_ptr&lt; Backend &gt; bn, std::shared_ptr&lt; Backend &gt; backendBn)</td></tr>
<tr class="separator:a32a879d0b4a0baef6c7c65563d22344c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a8f81fb743d773e326b1fd926e69fbee1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#a8f81fb743d773e326b1fd926e69fbee1">ComputeCache</a> ()</td></tr>
<tr class="separator:a8f81fb743d773e326b1fd926e69fbee1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ac2b03ae722001e0ec790214814c6bf7b"><td class="memItemLeft" align="right" valign="top">std::set&lt; std::shared_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html">ComputeCache</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#ac2b03ae722001e0ec790214814c6bf7b">mInputs</a></td></tr>
<tr class="separator:ac2b03ae722001e0ec790214814c6bf7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f3cc537175c6de5d06fc8ee8a5cd4ef"><td class="memItemLeft" align="right" valign="top">std::map&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_expr.html">Expr</a> *, std::vector&lt; std::pair&lt; <a class="el" href="class_m_n_n_1_1_tensor.html">Tensor</a> *, <a class="el" href="class_m_n_n_1_1_tensor.html">Tensor</a> * &gt; &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#a7f3cc537175c6de5d06fc8ee8a5cd4ef">mOutputTensors</a></td></tr>
<tr class="separator:a7f3cc537175c6de5d06fc8ee8a5cd4ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9432d52e951d2fd67df219b1e454e447"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="struct_m_n_n_1_1_express_1_1_executor_1_1_compute_cache_1_1_tensor_content.html">TensorContent</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#a9432d52e951d2fd67df219b1e454e447">mTensors</a></td></tr>
<tr class="separator:a9432d52e951d2fd67df219b1e454e447"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05f7864fd3b725d28b773ba58f14d364"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="struct_m_n_n_1_1_express_1_1_executor_1_1_compute_cache_1_1_unit.html">Unit</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#a05f7864fd3b725d28b773ba58f14d364">mUnits</a></td></tr>
<tr class="separator:a05f7864fd3b725d28b773ba58f14d364"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0f1998666270f098c4928937dbdbce0"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::weak_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html">ComputeCache</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#ae0f1998666270f098c4928937dbdbce0">mLinks</a></td></tr>
<tr class="separator:ae0f1998666270f098c4928937dbdbce0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ef803d09e4564f6ca381d261eff25e2"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#a0ef803d09e4564f6ca381d261eff25e2">mContentDirty</a> = true</td></tr>
<tr class="separator:a0ef803d09e4564f6ca381d261eff25e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab97e0eaafbc670ed58bf4575f2092acf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#ab97e0eaafbc670ed58bf4575f2092acf">mShapeDirty</a> = true</td></tr>
<tr class="separator:ab97e0eaafbc670ed58bf4575f2092acf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08e7bc90538fe45fd5da3c0e27838079"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; Backend &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#a08e7bc90538fe45fd5da3c0e27838079">mBackend</a></td></tr>
<tr class="separator:a08e7bc90538fe45fd5da3c0e27838079"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2888787a8ee5b0ad449bff33032e2a2"><td class="memItemLeft" align="right" valign="top">std::shared_ptr&lt; Backend &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html#ac2888787a8ee5b0ad449bff33032e2a2">mBackupBackend</a></td></tr>
<tr class="separator:ac2888787a8ee5b0ad449bff33032e2a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ad7d7f1f3bdcb69d0343313673e239aad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7d7f1f3bdcb69d0343313673e239aad">&#9670;&nbsp;</a></span>~ ComputeCache()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MNN::Express::Executor::ComputeCache::~ <a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html">ComputeCache</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a8f81fb743d773e326b1fd926e69fbee1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f81fb743d773e326b1fd926e69fbee1">&#9670;&nbsp;</a></span>ComputeCache()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">MNN::Express::Executor::ComputeCache::ComputeCache </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a69114879022de60a13753cb298296899"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a69114879022de60a13753cb298296899">&#9670;&nbsp;</a></span>addLink()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MNN::Express::Executor::ComputeCache::addLink </td>
          <td>(</td>
          <td class="paramtype">std::shared_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html">ComputeCache</a> &gt;&#160;</td>
          <td class="paramname"><em>cache</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="acef341cf7c5fbc4ecb1783121e99be78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acef341cf7c5fbc4ecb1783121e99be78">&#9670;&nbsp;</a></span>compute()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241">ErrorCode</a> MNN::Express::Executor::ComputeCache::compute </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a32a879d0b4a0baef6c7c65563d22344c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32a879d0b4a0baef6c7c65563d22344c">&#9670;&nbsp;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void MNN::Express::Executor::ComputeCache::create </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="namespace_m_n_n_1_1_express.html#a152ce5be99dce88bb7ede3838075df79">EXPRP</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>outputs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::map&lt; <a class="el" href="namespace_m_n_n_1_1_express.html#a152ce5be99dce88bb7ede3838075df79">EXPRP</a>, <a class="el" href="struct_m_n_n_1_1_express_1_1_executor_1_1_compute_cache_1_1_unit.html">ComputeCache::Unit</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>units</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::set&lt; std::shared_ptr&lt; <a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html">Executor::ComputeCache</a> &gt;&gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>inputCaches</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="struct_m_n_n_1_1_express_1_1_executor_1_1_compute_cache_1_1_tensor_content.html">ComputeCache::TensorContent</a> &gt; &amp;&amp;&#160;</td>
          <td class="paramname"><em>tensors</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::shared_ptr&lt; Backend &gt;&#160;</td>
          <td class="paramname"><em>bn</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::shared_ptr&lt; Backend &gt;&#160;</td>
          <td class="paramname"><em>backendBn</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a3c5cbd6165cdec1f7358a1867e9adeb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c5cbd6165cdec1f7358a1867e9adeb1">&#9670;&nbsp;</a></span>dup()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MNN::Express::Executor::ComputeCache::dup </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_m_n_n_1_1_express.html#a152ce5be99dce88bb7ede3838075df79">EXPRP</a>&#160;</td>
          <td class="paramname"><em>src</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_m_n_n_1_1_express.html#a152ce5be99dce88bb7ede3838075df79">EXPRP</a>&#160;</td>
          <td class="paramname"><em>dst</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a52c1db8f7e21a46b4cac3dbf0321a38a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52c1db8f7e21a46b4cac3dbf0321a38a">&#9670;&nbsp;</a></span>output()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_m_n_n_1_1_tensor.html">Tensor</a>* MNN::Express::Executor::ComputeCache::output </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_m_n_n_1_1_express.html#a152ce5be99dce88bb7ede3838075df79">EXPRP</a>&#160;</td>
          <td class="paramname"><em>outputExpr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>host</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a04dd57e9990d1bc4f23b5aafd5fb78cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a04dd57e9990d1bc4f23b5aafd5fb78cb">&#9670;&nbsp;</a></span>recycle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MNN::Express::Executor::ComputeCache::recycle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_m_n_n_1_1_express_1_1_expr.html">Expr</a> *&#160;</td>
          <td class="paramname"><em>expr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aa7dea86e28f669af13d514593cbb3ace"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7dea86e28f669af13d514593cbb3ace">&#9670;&nbsp;</a></span>resize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespace_m_n_n.html#a6814f7688a6a1ba4245f3ec5f4773241">ErrorCode</a> MNN::Express::Executor::ComputeCache::resize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a5d11ad5e1de630664ae8c8d01dfb5e31"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d11ad5e1de630664ae8c8d01dfb5e31">&#9670;&nbsp;</a></span>setContentDirty()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MNN::Express::Executor::ComputeCache::setContentDirty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ac6e60e712474e83205d9bdfe3098a742"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6e60e712474e83205d9bdfe3098a742">&#9670;&nbsp;</a></span>setShapeDirty()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MNN::Express::Executor::ComputeCache::setShapeDirty </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a2d9c460d8334945f4acad234586b7bc5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d9c460d8334945f4acad234586b7bc5">&#9670;&nbsp;</a></span>valid()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool MNN::Express::Executor::ComputeCache::valid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a08e7bc90538fe45fd5da3c0e27838079"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08e7bc90538fe45fd5da3c0e27838079">&#9670;&nbsp;</a></span>mBackend</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt;Backend&gt; MNN::Express::Executor::ComputeCache::mBackend</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac2888787a8ee5b0ad449bff33032e2a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2888787a8ee5b0ad449bff33032e2a2">&#9670;&nbsp;</a></span>mBackupBackend</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::shared_ptr&lt;Backend&gt; MNN::Express::Executor::ComputeCache::mBackupBackend</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0ef803d09e4564f6ca381d261eff25e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ef803d09e4564f6ca381d261eff25e2">&#9670;&nbsp;</a></span>mContentDirty</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool MNN::Express::Executor::ComputeCache::mContentDirty = true</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac2b03ae722001e0ec790214814c6bf7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2b03ae722001e0ec790214814c6bf7b">&#9670;&nbsp;</a></span>mInputs</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::set&lt;std::shared_ptr&lt;<a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html">ComputeCache</a>&gt; &gt; MNN::Express::Executor::ComputeCache::mInputs</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ae0f1998666270f098c4928937dbdbce0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0f1998666270f098c4928937dbdbce0">&#9670;&nbsp;</a></span>mLinks</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;std::weak_ptr&lt;<a class="el" href="class_m_n_n_1_1_express_1_1_executor_1_1_compute_cache.html">ComputeCache</a>&gt; &gt; MNN::Express::Executor::ComputeCache::mLinks</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a7f3cc537175c6de5d06fc8ee8a5cd4ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7f3cc537175c6de5d06fc8ee8a5cd4ef">&#9670;&nbsp;</a></span>mOutputTensors</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::map&lt;<a class="el" href="class_m_n_n_1_1_express_1_1_expr.html">Expr</a>*, std::vector&lt;std::pair&lt;<a class="el" href="class_m_n_n_1_1_tensor.html">Tensor</a>*, <a class="el" href="class_m_n_n_1_1_tensor.html">Tensor</a>*&gt; &gt; &gt; MNN::Express::Executor::ComputeCache::mOutputTensors</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ab97e0eaafbc670ed58bf4575f2092acf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab97e0eaafbc670ed58bf4575f2092acf">&#9670;&nbsp;</a></span>mShapeDirty</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool MNN::Express::Executor::ComputeCache::mShapeDirty = true</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a9432d52e951d2fd67df219b1e454e447"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9432d52e951d2fd67df219b1e454e447">&#9670;&nbsp;</a></span>mTensors</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="struct_m_n_n_1_1_express_1_1_executor_1_1_compute_cache_1_1_tensor_content.html">TensorContent</a>&gt; MNN::Express::Executor::ComputeCache::mTensors</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a05f7864fd3b725d28b773ba58f14d364"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05f7864fd3b725d28b773ba58f14d364">&#9670;&nbsp;</a></span>mUnits</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="struct_m_n_n_1_1_express_1_1_executor_1_1_compute_cache_1_1_unit.html">Unit</a>&gt; MNN::Express::Executor::ComputeCache::mUnits</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>MNNFaceDetection/iOS/MNNFaceDetection/Pods/MNN/MNN.framework/Headers/expr/expr/<a class="el" href="_executor_8hpp_source.html">Executor.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
